package com.share.dubbo.ssm.model.mysql;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
 * 2020-11-28
 * tl_access_log
 *
 * 这里使用了baomidou插件,TableName,TableId,TableField是基本注解
 */
@Data
@ApiModel("")
@TableName("tl_access_log")
public class AccessLog implements Serializable {
    @TableId(type = IdType.AUTO)
	@ApiModelProperty("")
    private Integer id;

    /**
     * 
     */
    @TableField
	@ApiModelProperty("")
    private String uri;

    /**
     * 
     */
	@ApiModelProperty("")
    private String ip;

    /**
     * 
     */
	@ApiModelProperty("")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri == null ? null : uri.trim();
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip == null ? null : ip.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}